using System;

namespace Rockfan.Framework.Audio.Midi
{
    internal sealed class NoteEvent : BaseMidiEvent
	{
		public int NoteID { get; private set; }
		public byte Pulses { get; private set; }		
		public bool IsNoteOn { get; private set; }
		
		public NoteEvent(int start, byte noteID, byte pulses,bool isNoteOn)
            :base(start)
		{	
			this.NoteID = noteID;
			this.Pulses = pulses;
			this.IsNoteOn = isNoteOn;
		}
	}
}